<div class="modal fade" id="addModal" tabindex="-1" role="dialog" data-backdrop="static"
   aria-labelledby="myModalLabel" aria-hidden="true">
   <div class="modal-dialog">
      <div class="modal-content">
         <div class="modal-header">
            <button type="button" class="close" 
               data-dismiss="modal" aria-hidden="true">
                  &times;
            </button>
            <h4 class="modal-title" id="myModalLabel">
            	添加用户
            </h4>
         </div>
         <div class="modal-body">
           	<form id="addForm">
           		<table>
           			<tr>
           				<td>
           				用户名：
           				</td>
           				<td>
           				<input name="userName"/>
           				</td>
           			</tr>
           			<tr>
           				<td>
           				拥有角色：
           				</td>
           				<td>
	           				<#list roleList as role>
	           					<input type="checkbox" value="${role.id}" name="role"/> ${role.roleName}
	           				</#list>
           				</td>
           			</tr>
           		</table>
           	</form>
         </div>
         <div class="modal-footer">
            <button type="button" class="btn btn-default" 
               data-dismiss="modal">关闭
            </button>
            <button type="button" class="btn btn-primary" onclick="addUserFn();">
              	 提交更改
            </button>
         </div>
      </div>
</div>